<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0034)http://flights.ctrip.com/domestic/ -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
        <title>机票预订</title>
    
    <meta name="description" content="">
    <meta name="keywords" content="机票 预订">
    <!-- InstanceBegin name="position" -->
<style type="text/css" media="all">html,body,div,dl,dt,dd,ul,ol,li,h1,p{margin:0;padding:0;}ul{list-style:none;}body{font-size:12px;font-family:simsun,sans-serif;background:url(http://localhost:8080/img/logo.jpg) repeat-x 0 0;}.cui_contact_tel,.cui_contact_mobile,.cui_toolkit_msg,.cui_user_menu dt a,.cui_lang_multi  .cui_lang_en,.cui_lang_multi_hover  .cui_lang_en,.cui_lang_mobile,.cui_lang_big5,.cui_lang_gb,.cui_lang_jap,.cui_lang_korea,.icon_hot,#cui_nav,#cui_nav a:hover,.cui_nav_current,.cui_nav_current:hover,#cui_nav span,.cui_user_grade_1,.cui_user_grade_2,.cui_user_grade_3,.cui_user_grade_4,.cui_favorite,.cui_pay_attention,.cui_pay_attention span,.cui_mobil_app2,.cui_mobil_app2 span ,.cui_favorite2,.cui_favorite2 span{background-image:url(http://pic.c-ctrip.com/common/un_bg_nav_foot20120517.png);background-repeat:no-repeat;}#base_hd{position:relative;width:950px;height:40px;z-index:1;margin:0 auto;padding:110px 0 8px;font:12px/1.5 Arial,Simsun,sans-serif;color:#000;}.cui_toolkit{position:absolute;top:0;left:0;z-index:3;width:950px;height:22px;margin:0 auto;line-height:22px;}.cui_toolkit a{color:#0053aa;text-decoration:none;}.cui_toolkit a:hover{text-decoration:none;}.cui_contact{height:22px;float:left;border-right:1px solid #C8D7E1;}.cui_contact_tel,.cui_contact_mobile,.cui_toolkit_msg{padding-right:10px;padding-left:20px;}.cui_contact_tel{background-position:0 -272px;}.cui_contact_mobile{background-position:2px -289px;}.cui_mobil_app2{float:right;padding-left:21px;line-height:22px;*line-height:24px;width:65px;background-position:0 -391px;}.cui_mobil_app2 span{display:block;height:22px;padding-right:5px;background-position:100% -415px;cursor:pointer;}.cui_toolkit_msg{background-position: 0 -313px;padding-right:0;}.cui_toolkit_login{float:left;padding-left:10px;}.cui_toolkit_links{float:right;}.cui_toolkit_links li{float:left;height:22px;margin-right:5px;padding:0 2px;}.cui_toolkit_links .cui_toolkit_user{width:75px;}.cui_user_grade_1,.cui_user_grade_2,.cui_user_grade_3,.cui_user_grade_4{display:-moz-inline-stack;display:inline-block;*display:inline;zoom:1;width:16px;height:0;margin:3px 4px 4px;padding-top:16px;overflow:hidden;vertical-align:middle;}.cui_user_grade_1{background-position:0 -234px;}.cui_user_grade_2{background-position:-18px -234px;}.cui_user_grade_3{background-position:0 -252px;}.cui_user_grade_4{background-position:-18px -252px;}.cui_lang{float:right;padding:0 0 0 1px;border-left:1px solid #c8d7e1;line-height:21px;position:relative;width:65px;height:22px;}.cui_lang_cn{width:45px;float:left;}.cui_lang a{color:#4b4b4b;text-decoration:none;padding-right:5px;padding-left:5px;outline-width:0;display:block;}.cui_lang_multi a:hover{background-color:#d0e8ff;text-decoration:none;}.cui_lang_big5,.cui_lang_gb,.cui_lang_jap,.cui_lang_korea{height:0;overflow:hidden;padding-top:22px;}.cui_lang_big5{background-position:5px -161px;}.cui_lang_gb{background-position:5px -178px;}.cui_lang_jap{background-position:5px -195px;}.cui_lang_korea{background-position:5px -212px;}.cui_lang_multi{position:absolute;right:0;float:left;width:65px;height:22px;overflow:hidden;padding-right:1px;padding-left:1px;}.cui_lang_multi_hover{background-color:#fff;position:absolute;right:0;height:87px;overflow:visible;padding:0;border-color:#acccef;border-style:solid;border-width:0 1px 1px;}.cui_lang_multi .cui_lang_en{ background-position:46px -330px;}.cui_lang_multi_hover .cui_lang_en{ background-position:46px -345px;}.cui_lang_mobile{float:left;margin-right:8px;padding-left:16px;padding-right:8px;background-position:0 -347px;border-right:1px solid #999;}.cui_user_menu_on{background-color: #fff;border-left: 1px solid #acccef;border-right: 1px solid #acccef;padding-right:17px;display:block;}.cui_user_menu dd{ display: none;}.cui_user_menu dt a{margin:0;background-position:55px -330px;}.cui_user_menu a{display:block;padding-left:9px;zoom:1;}.cui_user_menu a:hover{background-color:#cee4f7;text-decoration:none;}.cui_user_menu_hover{position:absolute;width:75px;margin-left:-1px;border:1px solid #acccef;border-top:none;overflow:hidden;z-index:9;background:#fff;box-shadow:2px 1px 1px rgba(222,231,238,0.6);}.cui_user_menu_hover dt a{background-position:55px -345px;}.cui_user_menu_hover dd{display:block;}.cui_ctrip{position:absolute;top:22px;left:10px;float:left;width:260px;height:90px;z-index:0;overflow:hidden;}.cui_ctrip a{display:block;height:0;padding-top:60px;overflow:hidden;margin-top:15px;outline-width:0;background:url(./img/logo.jpg) no-repeat 30px top;}.cui_hotspot{position:absolute;top:57px;right:0;width:156px;padding-right:8px;}.cui_hotspot a{color:#4d4d4d;text-decoration:none;}.cui_hotspot .cui_mobil_app2,.cui_hotspot .cui_favorite2{color:#0053aa;}.cui_hotspot .cui_mobil_app2:hover,.cui_hotspot .cui_favorite2:hover{text-decoration:none;}.cui_hotspot a:hover{color:#0053aa;text-decoration:underline;}.cui_follow_weibo{ width: 63px; height: 22px; margin: 0; padding: 0; border-width: 0;}.cui_pagehead_pic{position:absolute;top:38px;left:285px;width:468px;height:60px;overflow:hidden;font-size:22px;line-height:60px;text-align:center;}.cui_pagehead_pic div{width:468px;margin:0 auto;}.cui_pagehead_pic a{margin:0 auto;display:block;height:60px;width:468px;}.cui_pagehead_pic iframe,.advwrap iframe{display:block;margin:0 auto;}#cui_nav{height:36px;margin-top:2px;margin-bottom:2px;padding:0 7px;border-radius:4px;background-color:#0d52ae;background-repeat:repeat-x;background-position:0 -40px;line-height:1;}#cui_nav a{display:block;float:left;padding:11px 10px;height:1em;color:#fff;text-decoration:none;}#cui_nav a:hover{background-color:#0456d2;background-repeat:repeat-x;background-position:0 -80px;text-decoration:underline;}#cui_nav .cui_nav_current,#cui_nav .cui_nav_current:hover{position:relative;z-index:1;margin:-2px 0;padding-top:13px;padding-bottom:13px;background-color:#fff;background-repeat:repeat-x;background-position:0 -120px;font-weight:bold;color:#000;}#cui_nav .cui_nav_current:hover{color:#0053aa;}#cui_nav .cui_nav_left,#cui_nav .cui_nav_right{width:7px;height:36px;padding:0;position:absolute;top:112px;*top:110px;}#cui_nav .cui_nav_left{background-position:0 0;left:0}#cui_nav .cui_nav_right{right:0;background-position:right 0;}#base_ft{font-size:12px;font-family:verdana,simsun,serif;clear:both;text-align:center;padding-top:18px;border-top:1px dashed #9eccf5;}#base_ft a{font-size:12px;color:#0053aa;text-decoration:none;}#base_ft a:hover{text-decoration:underline;}.cui_nav_main{float:left;}#cui_nav .cui_nav_main a{font-size:14px;font-weight:bold;}.cui_nav_ect{float:right;}#cui_nav .cui_nav_ect a{padding:12px 6px;}#cui_nav .cui_nav_ect .cui_nav_current,#cui_nav .cui_nav_ect .cui_nav_current:hover{padding:14px 6px;}#cui_nav .nav_ico_newverson,#cui_nav .nav_ico_recommend,#cui_nav .nav_ico_newplatform{position:absolute;display:block;height:16px;margin:-20px 0 0;overflow:hidden;background-image:url(http://pic.c-ctrip.com/common/un_ico_nav.png);background-repeat:no-repeat;}.nav_ico_newverson{width:25px;background-position:0 0;}.nav_ico_recommend{width:25px;background-position:0 -18px;}.nav_ico_newplatform{width:35px;background-position:0 -36px;}</style>
    <link  href="./flight_ticket_files/cui110425.css" type="text/css" rel="stylesheet"/>
    <link href="./flight_ticket_files/priflt_index.css" type="text/css" rel="stylesheet"/>
    <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
     <script language="javascript" type="text/javascript" >
     function opennew(url){
     var i=window.showModalDialog(url,"","dialogWidth=1000px;dialogHeight=700px;center");
	if(i=="2"){
	window.location.href="index.jsp";
	}
     }
     function chosetype(radio_id){
	     var i1=document.getElementById("i1");
	     var i2=document.getElementById("i2");
	     var i3=document.getElementById("i3");
	     var i4=document.getElementById("i4");
	     var i5=document.getElementById("i5");
     if(radio_id=="radio_S"){
     i3.className="item3";
      i4.className="item3";
       i5.className="item3";
       i2.className="item2";
       i1.className="item1";
     }else if(radio_id=="radio_D"){
          i3.className="item3";
      i4.className="item3";
       i5.className="item3";
       i2.className="";
       i1.className="item1";
     }else if(radio_id=="radio_M"){
      i3.className="";
      i4.className="";
       i5.className="";
       i2.className="item2";
       i1.className="item3";
     }
     }
    function search(){
    var  start_city=document.getElementById("DepartCity1TextBox").value;
var  end_city=document.getElementById("ArriveCity1TextBox").value;
var  start_date=document.getElementById("DepartDate1TextBox").value;
var  return_date=document.getElementById("ReturnDepartDate1TextBox").value;
var transit_city=document.getElementById("TransitCityTextBox").value;
var first_start_date=document.getElementById("DepartDate1TextBox2").value;
var second_start_date=document.getElementById("DepartDate2TextBox").value;
var t="";
var obj=document.getElementsByName("FlightSearchType");
for(var i=0;i<obj.length;i++){
if(obj[i].checked){
t=obj[i].value;
}
}
if(t=="S"){
document.getElementById("start_city").value=start_city;
document.getElementById("start_date").value=start_date;
document.getElementById("end_city").value=end_city;
document.getElementById("type").value=t;
if(start_city.trim().length==0||start_date.trim().length==0||end_city.trim().length==0||t.trim().length==0){
alert("请填满查询条件！");
}else{
document.getElementById("searchform").submit();
}
}
else if(t=="D"){
document.getElementById("start_city").value=start_city;
document.getElementById("start_date").value=start_date;
document.getElementById("end_city").value=end_city;
document.getElementById("type").value=t;
document.getElementById("return_date").value=return_date;
if(start_city.trim().length==0||start_date.trim().length==0||end_city.trim().length==0||t.trim().length==0||return_date==0){
alert("请填满查询条件！");
}else{
document.getElementById("searchform").submit();
}
}
else{
document.getElementById("start_city").value=start_city;
document.getElementById("end_city").value=end_city;
document.getElementById("transit_city").value=transit_city;
document.getElementById("first_start_date").value=first_start_date;
document.getElementById("second_start_date").value=second_start_date;
document.getElementById("type").value=t;
if(start_city.trim().length==0||transit_city.trim().length==0||end_city.trim().length==0||t.trim().length==0||second_start_date==0||first_start_date.trim().length==0){
alert("请填满查询条件！");
}else{
document.getElementById("searchform").submit();
}
}
    }
    
function load(type){
var obj=document.getElementsByName("FlightSearchType");
for(var i=0;i<obj.length;i++){
if(obj[i].value==type){
obj[i].checked=true;
chosetype(obj[i].id);
}
}
}    

function buytickets(sdate,rdate,fstdate,secdate,type,fid,tableid,landingAirportName,takeOffTime,price){
var time=new Date().getTime(); 
landingAirportName=encodeURIComponent(landingAirportName);
url="searchaction!buy.action?time="+time+"&landingAirportName="+landingAirportName+"&takeOffTime="+takeOffTime+"&price="+price;
if(type=="S"){
url+="&sdate="+sdate+"&fid="+fid;
}else if(type=="D"&&tableid=="t51"){
url+="&sdate="+sdate+"&fid="+fid;
}else if(type=="D"&&tableid=="t52"){
url+="&sdate="+rdate+"&fid="+fid;
}else if(type=="M"&&tableid=="t51"){
url+="&sdate="+fstdate+"&fid="+fid;
}else if(type=="M"&&tableid=="t52"){
url+="&sdate="+secdate+"&fid="+fid;
}
window.showModalDialog(url,"","dialogWidth=1000px;dialogHeight=700px;center");
}

function page(curpnumber,allsname,pagesname,porn){
var cp=document.getElementById("curpnumber");
var an=document.getElementById("allsname");
var pn=document.getElementById("pagesname");
var pageform=document.getElementById("pageform");
document.getElementById("porn").value=porn;
cp.value=curpnumber;
an.value=allsname;
pn.value=pagesname;
pageform.submit();
}

     </script>
<body id="mainbody" onload="load('${search.type}')">
<form action="searchaction!pagecontrol.action"  id="pageform">
<input type="hidden" id="curpnumber" name="curpnumber" value=""/>
<input type="hidden" id="allsname" name="allsname" value=""/>
<input type="hidden" id="pagesname" name="pagesname" value=""/>
<input  type="hidden" id="porn" name="porn" value=""/>
<input type="hidden" id="search.type" name="search.type" value="${search.type}"/>
</form>
<form action="searchaction!search.action" method="post" id="searchform">
<input type="hidden" name="search.start_city" id="start_city"/>
<input type="hidden" name="search.first_start_date" id="first_start_date"/>
<input type="hidden" name="search.transit_city" id="transit_city"/>
<input type="hidden" name="search.second_start_date" id="second_start_date"/>
<input type="hidden" name="search.end_city" id="end_city"/>
<input type="hidden" name="search.start_date" id="start_date"/>
<input type="hidden" name="search.return_date" id="return_date"/>
<input type="hidden" name="search.type" id="type"/>
</form>
    <div id="jsContainer" class="jsContainer" style="height: 0">
        <textarea id="jsSaveStatus" rows="2" cols="10" style="display: none;"></textarea>
        <div id="tuna_alert" style="display: none; position: absolute; z-index: 999; overflow: hidden;"><div class="c_alert"><div id="alertInfo" class="c_alertinfo">内容</div></div></div>
        <div id="tuna_jmpinfo" style="position: absolute; z-index: 120; ">
        </div>
        <div style="position:absolute; top: 0; z-index: 120; display: none" id="tuna_calendar" class="tuna_calendar">
        </div>
    <div style="width: 0px; height: 0px; "><div id="tuna_address" style="display:none;position:absolute;top:0;z-index:120;overflow:hidden;-moz-box-shadow:2px 2px 5px #333;-webkit-box-shadow:2px 2px 5px #333;"><div id="address_warp"><div id="address_message">&nbsp;</div><div id="address_list"><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a><a class="a1" href="http://flights.ctrip.com/domestic/###"><span>&nbsp;</span>&nbsp;</a></div><div class="address_pagebreak" id="address_p"><a id="address_arrowl" href="javascript:;" name="p">&lt;-</a><a id="address_p1" href="javascript:;" name="1" class="address_current">1</a><a id="address_p2" href="javascript:;" name="2">2</a><a id="address_p3" href="javascript:;" name="3">3</a><a id="address_p4" href="javascript:;" name="4">4</a><a id="address_p5" href="javascript:;" name="5">5</a><a id="address_arrowr" href="javascript:;" name="n">-&gt;</a></div></div></div></div></div>
        <ul id="base_wrapper">
            <!--head begin-->
                   <li id="base_hd">
            <div class="cui_ctrip">
            	<a href="http://localhost:8080/index.jsp" title="机票预订网">机票预订网</a>
            </div>
            <div class="cui_toolkit">
                 <p class="cui_contact"><span class="cui_contact_tel">800-666-8888</span></p>
            <p class="cui_toolkit_login" id="__SSO_Change_Title">
<s:if test="#session.user==null"><a rel="nofollow" href="javascript:opennew('admin/login.jsp')">登录</a>&nbsp;<a href="regist.jsp">注册</a> </s:if>           </p>
<s:else>欢迎您，<s:property value="#session.user.userName"/>！&nbsp;<a href="useraction!logout.action">退出</a></s:else>       
         <s:if test="#session.user!=null">   <ul class="cui_toolkit_links">
                <li class="cui_toolkit_user">
	               <dl onmouseout="this.className=&#39;cui_user_menu&#39;;" onmouseover="this.className=&#39;cui_user_menu cui_user_menu_hover&#39;;" id="toolkit_user_menu" class="cui_user_menu">
		                <dt><a rel="nofollow"  href="javascript:opennew('ticketaction!userallt.action')">我的机票</a></dt>
		                <dd>		               
<a rel="nofollow" href="javascript:opennew('userInfo.jsp')">我的信息</a></dd>
<s:if test="#session.user.roleId==1||#session.user.roleId==2"><dd>
<a rel="nofollow" href="/flight_tickets/admin/main.jsp">后台管理</a>
		                </dd></s:if>
	               </dl>
                </li>
                <li>
        </li>
            </ul></s:if>
            </div>
          <div id="cui_nav">
               <div class="cui_nav_main">
                 <a href="http://localhost:8080/index.jsp">首页</a>
             </div>
            <div class="cui_nav_ect">
             </div>
               <div><span class="cui_nav_left"></span><span class="cui_nav_right"></span></div>
         </div>
    </li>
            <!--head end-->        
                
    
    <li id="base_bd" class="layoutfix">
        <div class="side_nav">
            
<div class="box_search">
    <h2>查询国内航班</h2>
    <div class="search_content">
        <div class="search_type">
            航程类型
            <label id="label_S" class="base_label"><input cdm="rdb_oneway" type="radio" name="FlightSearchType" value="S" checked="checked" id="radio_S"  onclick="chosetype('radio_S')">单程</label>
            <label id="label_D" class="base_label"><input cdm="rdb_roundtrip" type="radio" name="FlightSearchType" value="D" id="radio_D" onclick="chosetype('radio_D')">往返</label>   
            <label id="label_M" class="base_label"><input cdm="rdb_multipledestinations" type="radio" name="FlightSearchType" value="M" id="radio_M" onclick="chosetype('radio_M')">联程</label> 
            <input type="hidden" id="searchTypeWay" value="S"></input>
        </div>
        
        <ul id="searchBox" class="search_item search_single">
            <li>
				<b>*</b>出发城市<br>
				<input id="DepartCity1TextBox"  cdm="txt_from" tabindex="1" type="text" mod_address_suggest="@Beijing|北京|BJS@Shanghai|上海|SHA@Shenzhen|深圳|SZX@Guangzhou|广州|CAN@Qingdao|青岛|TAO@Chengdu|成都|CTU@Hangzhou|杭州|HGH@Wuhan|武汉|WUH@Tianjin|天津|TSN@Dalian|大连|DLC@Xiamen|厦门|XMN@Chongqing|重庆|CKG@" mod_address_source="fltDomestic" mod_notice_tip="中文/拼音" mod="address|notice" mod_address_reference="DCity1" mod_address_auto="false" mod_address_focusnext="true" autocomplete="off" style="color: gray; ">
			</li>
			<li class="item3" id="i3">
				<b>*</b>第一程出发日期<br>
				<input id="DepartDate1TextBox2" onClick="WdatePicker()" tabindex="4" cdm="txt_depart" type="text" mod_calendar_rangestart="#" mod_calendar_rangeend="2013-05-25" mod_notice_tip="yyyy-mm-dd" mod="notice|calendar" value="" style="color: gray; ">
			</li>
			<li class="item3" id="i4">
				<b>*</b><label>中转</label>城市<br>
				<input id="TransitCityTextBox" cdm="txt_transit" tabindex="2" type="text" mod_address_suggest="@Beijing|北京|BJS@Shanghai|上海|SHA@Shenzhen|深圳|SZX@Guangzhou|广州|CAN@Qingdao|青岛|TAO@Chengdu|成都|CTU@Hangzhou|杭州|HGH@Wuhan|武汉|WUH@Tianjin|天津|TSN@Dalian|大连|DLC@Xiamen|厦门|XMN@Chongqing|重庆|CKG@" mod_address_source="fltDomestic" mod_notice_tip="中文/拼音" mod="address|notice" mod_address_reference="TransitCity" mod_address_auto="false" autocomplete="off" style="color: gray; ">
			</li>
			<li class="item3" id="i5">
				<b>*</b>第二程出发日期<br>
				<input id="DepartDate2TextBox" onClick="WdatePicker()" cdm="txt_secdepart" tabindex="5" type="text" mod_calendar_reference="DepartDate1TextBox" mod_calendar_rangeend="2013-05-25" mod_calendar_rangestart="#" mod_notice_tip="yyyy-mm-dd" mod="notice|calendar" value="" style="color: gray; ">
			</li>
			<li>
				<b>*</b>到达城市<br>
				<input id="ArriveCity1TextBox" cdm="txt_to" tabindex="3" type="text" mod_address_suggest="@Beijing|北京|BJS@Shanghai|上海|SHA@Shenzhen|深圳|SZX@Guangzhou|广州|CAN@Qingdao|青岛|TAO@Chengdu|成都|CTU@Hangzhou|杭州|HGH@Wuhan|武汉|WUH@Tianjin|天津|TSN@Dalian|大连|DLC@Xiamen|厦门|XMN@Chongqing|重庆|CKG@" mod_address_source="fltDomestic" mod_notice_tip="中文/拼音" mod="address|notice" value="" mod_address_reference="ACity1" mod_address_auto="false" autocomplete="off" style="color: gray; ">
			</li>
			<li class="item1" id="i1">
				<b>*</b>出发日期<br>
				<input id="DepartDate1TextBox" onClick="WdatePicker()" tabindex="4" cdm="txt_depart" type="text" mod_calendar_rangestart="#" mod_calendar_rangeend="2013-05-25" mod_notice_tip="yyyy-mm-dd" mod="notice|calendar" value="" mod_calendar_focusnext="true" style="color: gray; ">
			</li>
			<li class="item2" id="i2">
				<b>*</b>返回日期<br>
				<input id="ReturnDepartDate1TextBox" onClick="WdatePicker()" cdm="txt_Return" tabindex="6" type="text" mod_calendar_rangeend="2013-05-25" mod_calendar_rangestart="#" mod_notice_tip="yyyy-mm-dd" mod="notice|calendar" value="" mod_calendar_reference="DepartDate1TextBox" style="color: gray; ">
			</li>
        </ul>
        
        <ul class="search_item search_other">
			<li>
			</li>			
        </ul> 
        
        <div class="box_btn basefix">
            <input type="button" id="s_btn"  value="搜索" class="btn_search"  onclick="search()"></input>
            
            
        </div>
        
    </div>
   
   
   
   
    
    <input id="DCity1" name="DCity1" type="hidden"/>
    <input id="ACity1" name="ACity1" type="hidden"/>
    <input id="DDate1" name="DDate1" type="hidden"/>
    <input id="DCity2" name="DCity2" type="hidden"/>
    <input id="ACity2" name="ACity2" type="hidden"/>
    <input id="DDate2" name="DDate2" type="hidden"/>
    <input id="TransitCity" name="TransitCity" type="hidden"/>
    <input id="ClassType" name="ClassType" type="hidden" value=""/>
    <input id="PassengerQuantity" name="PassengerQuantity" type="hidden" value="1"/>
    <input id="SendTicketCity" name="SendTicketCity" type="hidden" value=""/>
    <input id="Airline" name="Airline" type="hidden" value=""/>
    <input id="PassengerType" name="PassengerType" type="hidden" value="ADU"/>
    <input id="DCityName1" name="DCityName1" type="hidden"/>
    <input id="DCityName2" name="DCityName2" type="hidden"/>
    <input id="ACityName1" name="ACityName1" type="hidden"/>
    <input id="ACityName2" name="ACityName2" type="hidden"/>
</div>

</div>
        
        <div class="main_nav " id="main">

<div class="box layoutfix">
	<h3 class="box_title">航班信息</h3>
	<div id="fltTime" class="flight_realtime">
	    
    <table id="t51">
		    <tbody>
		        <tr>
			        <th>航班号</th>
			        <th>出发机场</th>
			        <th>到达机场</th>
			        <th>起飞时间</th>
			        <th>价格</th>
			        <th>购票</th>
		        </tr>
		           <s:if test="#session.flight_s!=null">
		           <s:iterator value="#session.flight_s" status="st">
		           <tr>
			        <th><s:property value="flightId"/></th>
			        <th><s:property value="takeOffAirportName"/></th>
			        <th><s:property value="landingAirportName"/></th>
			        <th><s:property value="takeOffTime"/></th>
			        <th><s:property value="price"/></th>
			        <th><a href="javascript:buytickets('${search.start_date }','${search.return_date }','${search.first_start_date }','${search.second_start_date}','${search.type }','${flightId}','t51','${landingAirportName}','${takeOffTime }','${price}');">购票</a></th>
		        </tr>
			       </s:iterator>
			       </s:if>
			       <s:else>
			       <tr align="center">
			       <td align="center" colspan="7"><font size="4">暂时没有您需要的航班！</font></td>
			       </tr>
			       </s:else>
		        </tbody>
        </table></div>
        

					<ul id="fltPage" class="page_slide">
					<%
					List list=(List)session.getAttribute("flights");
					int fspnum=-1;
					if(session.getAttribute("fspnum")!=null){
					fspnum=(Integer)session.getAttribute("fspnum");
					}
					int i=0;
					if(list!=null){
					i=list.size();
					}	
					if(i!=0&&i<=8){%>
					
					<li data-loop="0" class="page_slide_current"></li>
				<%	
					}else if(i!=0&&i>8){
					int m=i%8;
					int n=i/8;
					if(m!=0){
					n=n+1;
					}
					for(int k=0;k<n;k++){
					if(k==(fspnum-1)){
					 %>
						<li data-loop="<%=k %>" class="page_slide_current"></li>
					<%}else if(k<(fspnum-1)){%>
					<li data-loop="<%=k %>" class="" onclick="page('<%=fspnum %>','flights','flight_s','p');"></li>
					
				<%	}else {%>
					<li data-loop="<%=k %>" class="" onclick="page('<%=fspnum %>','flights','flight_s','n');"></li>
					
				<%}} }%>
					</ul>
				</div>
        </div>
      <s:if test='search.type=="D"||search.type=="M"'>    <div class="main_nav" id="main">

<div class="box layoutfix">
	<h3 class="box_title">返程航班信息</h3>
	<div id="fltTime" class="flight_realtime">
	    
    <table id="t52">
		    <tbody>
		        <tr>
			        <th>航班号</th>
			        <th>出发机场</th>
			        <th>到达机场</th>
			        <th>起飞时间</th>
			        <th>价格</th>
			        <th>购票</th>
		        </tr>
		         <s:if test="#session.flight_e!=null">
		           <s:iterator value="#session.flight_e" status="st">
		           <tr>
			        <th><s:property value="flightId"/></th>
			        <th><s:property value="takeOffAirportName"/></th>
			        <th><s:property value="landingAirportName"/></th>
			        <th><s:property value="takeOffTime"/></th>
			        <th><s:property value="price"/></th>
			        <th><a href="javascript:buytickets('${search.start_date }','${search.return_date }','${search.first_start_date }','${search.second_start_date}','${search.type}','${flightId}','t52','${landingAirportName}','${takeOffTime }','${price}');">购票</a></th>
		        </tr>
			       </s:iterator>
			       </s:if>
			       <s:else>
			       <tr align="center">
			       <td align="center" colspan="7"><font size="4">暂时没有您需要的航班！</font></td>
			       </tr>
			       </s:else>
		        </tbody>
        </table></div>
        

					<ul id="fltPage" class="page_slide">
							<%
					List list1=(List)session.getAttribute("flightsend");
					int fepnum=(Integer)session.getAttribute("fepnum");
					int i1=0;
					if(list1!=null){
					i1=list1.size();
					}
						
					if(i1!=0&&i1<=8){%>
					
					<li data-loop="0" class="page_slide_current"></li>
				<%	
					}else if(i1!=0&&i1>8){
					int m1=i1%8;
					int n1=i1/8;
					if(m1!=0){
					n1=n1+1;
					}
					for(int k=0;k<n1;k++){
					if(k==fepnum-1){
					 %>
						<li data-loop="<%=k %>" class="page_slide_current"></li>
					<%}else if(k<(fepnum-1)){%>
					<li data-loop="<%=k %>" class="" onclick="page('<%=fepnum%>','flightsend','flight_e','p');"></li>
					
				<%	}
				
				else {%>
					<li data-loop="<%=k %>" class="" onclick="page('<%=fepnum%>','flightsend','flight_e','n');"></li>
					
				<%}} }%>
					</ul>
				</div>
        </div>
        </li>
        </s:if>
    
<div class="base_pop" style="width:500px;display:none;" id="airHotelBox"> 
	<div class="pop_hd"><a id="airHotelCloseButton" href="javascript:void(0);" class="delete">&nbsp;</a><h3>搜索机+酒</h3></div> 
	<table class="base_flthotel"> 
		<tbody><tr> 
			<th>出发城市</th> 
			<td><input type="text" id="airHotelBoxDCity" name="airHotelBoxDCity" mod="address|notice" mod_address_source="flthotelstart" mod_address_suggest="@Beijing|北京|1|bj|BJS@Shanghai|上海|2|sh|SHA@Shenzhen|深圳|30|sz|SZX@Guangzhou|广州|32|gz|CAN@Qingdao|青岛|7|qd|TAO@Chengdu|成都|28|cd|CTU@Hangzhou|杭州|17|hz|HGH@Wuhan|武汉|477|wh|WUH@Tianjin|天津|3|tj|TSN@Dalian|大连|6|dl|DLC@Xiamen|厦门|25|xm|XMN@Chongqing|重庆|4|cq|CKG@" mod_notice_tip="中文/拼音" mod_address_reference="AirHotelDCity" autocomplete="off" style="color: gray; "></input></td> 
		</tr> 
		<tr> 
			<th>目的城市</th> 
			<td><input type="text" name="airHotelBoxACity" id="airHotelBoxACity" autocomplete="off" mod_notice_tip="中文/拼音" mod_address_reference="AirHotelACity" mod_address_suggest="@Beijing|北京|1|bj|BJS@Shanghai|上海|2|sh|SHA@Shenzhen|深圳|30|sz|SZX@Guangzhou|广州|32|gz|CAN@Qingdao|青岛|7|qd|TAO@Chengdu|成都|28|cd|CTU@Hangzhou|杭州|17|hz|HGH@Wuhan|武汉|477|wh|WUH@Tianjin|天津|3|tj|TSN@Dalian|大连|6|dl|DLC@Xiamen|厦门|25|xm|XMN@Chongqing|重庆|4|cq|CKG@" mod_address_source="flthoteldest" mod="address|notice" style="color: gray; "></input></td> 
		</tr> 
		<tr> 
			<th>出发日期</th> 
			<td><input type="text" class="blue" onclick="setDay(this);" mod_notice_tip="yyyy-mm-dd" mod_calendar_rangeend="2013-05-26" mod_calendar_rangestart="2012-05-27" mod="calendar|notice" name="airHotelBoxDDate" id="airHotelBoxDDate" value="" autocomplete="off" style="color: gray; "></td> 
		</tr> 
		<tr id="floatSearchBoxBackTR"> 
			<th>返回日期</th> 
			<td><input type="text" class="blue" mod_notice_tip="yyyy-mm-dd" mod_calendar_rangeend="2013-05-26" mod_calendar_rangestart="2012-05-27" mod="calendar|notice" name="airHotelBoxADate" id="airHotelBoxADate" value="" autocomplete="off" style="color: gray; "><span style="color:#999999">（选填）</span></td> 
		</tr> 
		<tr> 
			<th>人数</th> 
			<td> 
				<select name="airHotelAdultSelect" id="airHotelAdultSelect"> 
					<option value="1">1</option> 
					<option selected="selected" value="2">2</option> 
					<option value="3">3</option> 
					<option value="4">4</option> 
					<option value="5">5</option> 
					<option value="6">6</option> 
					<option value="7">7</option> 
					<option value="8">8</option> 
					<option value="9">9</option> 
				</select> 
				成人&nbsp;&nbsp;
				<select name="airHotelChildSelect" id="airHotelChildSelect"> 
					<option selected="selected" value="0">0</option> 
					<option value="1">1</option> 
					<option value="2">2</option> 
					<option value="3">3</option> 
					<option value="4">4</option> 
					<option value="5">5</option> 
					<option value="6">6</option> 
					<option value="7">7</option> 
					<option value="8">8</option> 
					<option value="9">9</option> 
				</select> 
				儿童&nbsp;&nbsp;
			</td> 
		</tr> 
		<tr> 
			<th>入住间数</th> 
			<td> 
				<select name="areHotelRoomSelect" id="areHotelRoomSelect"> 
					<option selected="selected" value="1">1</option> 
					<option value="2">2</option> 
					<option value="3">3</option> 
					<option value="4">4</option> 
					<option value="5">5</option> 
					<option value="6">6</option> 
					<option value="7">7</option> 
					<option value="8">8</option> 
					<option value="9">9</option>  
				</select> 
			</td> 
		</tr> 
		<tr> 
			<th></th>            
			<td></td> 
		</tr> 
	</tbody></table>
	<br> 
	<input id="AirHotelDCity" name="AirHotelDCity" type="hidden">
    <input id="AirHotelACity" name="AirHotelACity" type="hidden">
</div> 

    </li>
                
                    <li id="base_ft">
            <p style="font-family:Verdana, sans-serif">
                <a href="http://pages.ctrip.com/public/copyright.htm" rel="nofollow">Copyright&#169;</a>
                 1999-2012,
                <a href="index.jsp"> 蓝天票务</a>. all rights reserved.
            </p>



        </ul>

 

</body></html>